package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.PurchaseorderMapper;
import com.ten.jinxiancun.mapper.PurchasestorageMapper;
import com.ten.jinxiancun.server.PurchaseorderServer;
import com.ten.jinxiancun.server.PurchasestorageServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
//采购订单
@Service
public class PurchaseorderServerImpl implements PurchaseorderServer {
    @Autowired
    PurchaseorderMapper purder;
    @Override
    public List<Map<String, Object>> getAllPurder(Map<String, Object> map) {
        return purder.getAllPurder(map);
    }

    @Override
    public Integer countFind(Map<String, Object> map) {
        return purder.count(map);
    }
}
